package com.doubi.service.impl;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.doubi.entity.Friend;
import com.doubi.mapper.FriendMapper;
import com.doubi.service.FriendService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class FriendServiceImpl extends ServiceImpl<FriendMapper,Friend> implements FriendService {
    @Autowired
    private FriendMapper friendMapper;

    @Override
    public Integer insertFriend(Integer uid, Integer fid) {
        return friendMapper.insertFriend(uid,fid);
    }
}
